package com.coffee.wakeonlan.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.coffee.wakeonlan.entity.Machine;

public interface  MachineDao extends CrudRepository<Machine, Long>{
	Machine findByMac(String mac);
	List<Machine> findByUserId(Long userId);
}
